<?php 
namespace Home\Model;
use Think\Model;
class ServiceModel extends Model{
	  //添加数据验证	  
	    private $_validate = array(
	        array('userName','require','持卡人不能为空！'),	       
	        array('card_number','require','银行卡不能为空！'),
	    	array('card_number','19','银行卡必须是19位数',1,'length')	       
	    );
}